package com.cloud.business.entity.sys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import com.cloud.business.common.CommonTimeZone;
        import java.util.Date;

    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* 系统文章表 实体映射类
* Copyright: Copyright (C) 2020 DLANGEL, Inc. All rights reserved.
* Company: 大连安琪科技有限公司
* AR模式可以继承 extends Model<SysArticle>
* @author yuf
* @since 2020-7-1 18:46:31
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
    @ApiModel(value="SysArticle对象", description="系统文章表 ")
public class SysArticle {

private static final long serialVersionUID = 1595398956738L;

        @TableId(value = "object_id", type = IdType.AUTO)
        @ApiModelProperty(name = "objectId" , value = "base-主键")
    private Integer objectId;
        @TableLogic
        @ApiModelProperty(name = "isDeleted" , value = "base-删除标志")
    private Integer isDeleted;
        @ApiModelProperty(name = "pid" , value = "base-上级id")
    private Integer pid;
        @ApiModelProperty(name = "sort" , value = "base-排序")
    private Integer sort;
        @ApiModelProperty(name = "createUserId" , value = "base-创建人")
    private Integer createUserId;
            @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = CommonTimeZone.TIMEZONE)
        @ApiModelProperty(name = "createTime" , value = "base-创建时间")
    private Date createTime;
        @ApiModelProperty(name = "modificationUserId" , value = "base-修改人")
    private Integer modificationUserId;
            @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = CommonTimeZone.TIMEZONE)
        @ApiModelProperty(name = "modificationTime" , value = "base-修改时间")
    private Date modificationTime;
        @ApiModelProperty(name = "remark" , value = "base-备注")
    private String remark;
        @ApiModelProperty(name = "isShow" , value = "是否显示")
    private Integer isShow;
        @ApiModelProperty(name = "title" , value = "标题")
    private String title;
        @ApiModelProperty(name = "content" , value = "内容")
    private String content;
        @ApiModelProperty(name = "click" , value = "点击数")
    private Integer click;
        @ApiModelProperty(name = "img" , value = "图片")
    private String img;
        @ApiModelProperty(name = "enumType" , value = "类型")
    private String enumType;
        @ApiModelProperty(name = "enumSource" , value = "来源")
    private String enumSource;
        @ApiModelProperty(name = "description" , value = "描述")
    private String description;
        @ApiModelProperty(name = "isTop" , value = "置顶标识")
    private Integer isTop;

}
